package com.horizon;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableAsync //异步任务
@EnableAspectJAutoProxy //AOP
@EnableTransactionManagement //事务
@SpringBootApplication
public class HorizonCommonApplication {

    public static void main(String[] args) {
        SpringApplication.run(HorizonCommonApplication.class, args);
    }

}
